﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ProductList.ascx.vb" Inherits="controls_ProductList" %>

        <asp:Repeater ID="rptProductList" runat="server">
        <ItemTemplate>
        <li brandid = "<%#Eval("Brand.BrandId")%>">
            <a href="http://health.yahoo.com/experts/">
                <img border="0" width="200" height="250"
                     alt="Health Expert Advice: Leading experts share advice, tips and personal experiences."
                     src="GetImage.ashx?path=<%#Eval("GetMainImage.Path")%>.jpg&height=250&width=200"/>
            </a>
            <div style ="font-size: 8px;"><%#Eval("ProductName")%></div>
            <div style ="font-size: 8px;"><%#Eval("Brand.brandName")%></div>
            <div style ="font-size: 8px;"><code><%#Eval("Brand.BrandId")%></code></div>
        </li>
        
        
         </ItemTemplate>
        </asp:Repeater>

        
        
 <div id="brandMenu" class="flora">
    <ul>
        <asp:Repeater ID = "rptBrands" runat = "server">
            <ItemTemplate>
                <li><a href='#<%#Eval("BrandId")%>'><span><%#Eval("BrandName")%> (<%#Eval("Count")%>)</span></a></li>
            </ItemTemplate>    
        </asp:Repeater>
    </ul>
</div>